/*
 * Copyright (c) 2020 hebeiyiliuba.com
 * All rights reserved.
 *
 */
package org.jeecg.modules.third.dongjiang.tax.system.dto.req;

import lombok.Data;
import org.apache.commons.lang.StringUtils;

import java.io.Serializable;

/**
 * 东疆税务系统请求基本参数
 *
 * @author duanlikao
 * @created 2021/3/12
 */
@Data
public class BaseReqDTO  implements Serializable {

    private static final long serialVersionUID = -2465140747749709626L;

    private String service_id;
    private String system_id;
    private String sign;
    private String seq;
    private String timestamp;
    private String version;
    private String charset;

    public void setService_id(String service_id) {
        this.service_id = service_id;
    }
    public String getService_id() {
        return service_id;
    }

    public void setSystem_id(String system_id) {
        this.system_id = system_id;
    }
    public String getSystem_id() {
        return system_id;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
    public String getSign() {
        return sign;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }
    public String getSeq() {
        return seq;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
    public String getTimestamp() {
        return timestamp;
    }

    public void setVersion(String version) {
        this.version = StringUtils.isNotEmpty(version )  ? version : "1.0";
    }
    public String getVersion() {
        return StringUtils.isNotEmpty(version )  ? version : "1.0";
    }

    public void setCharset(String charset) {
        this.charset = StringUtils.isNotEmpty(charset )  ? charset : "UTF-8";
    }
    public String getCharset() {
        return StringUtils.isNotEmpty(charset )  ? charset : "UTF-8";
    }

}